package com.lz.seata.service;

import com.lz.seata.domain.Product;

/**
 * @Description: IProductService
 * @Date: 2020/5/4 11:36
 * @Author: LiZhen
 * @Version: 1.0
 */
public interface IProductService {
    Product findById(Integer pid);
    void deductStock(Integer pid, Integer number);
}
